﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Site/Views/Shared/main.Master" Inherits="System.Web.Mvc.ViewPage<Jzy.UI.Web.Areas.Site.Models.ArticleListModel>" %>
<%@ Import Namespace="Jzy.UI.Web.Areas.Site.BaseCode" %>
<%@ Import Namespace="Jzy.UI.Web.BaseCode" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
     <%= SiteStyle.Pager %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="nav" runat="server">
<a href="/">首页</a> > 
   <%=this.Model.MenuName %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   <%foreach (Cms.Entity.Article.ArticleInfo info in this.Model.List)
     { %>
             <div class="con_con_left_citem">
                <div class="c_img">
                    <a id='lnk_<%=info.ID %>' href='<%= info.Source == "" ? info.BigImageAbsPath : info.Source %>' target="_blank">
                                <script type="text/javascript">
                                    loadImage('<%=info.SmallImageAbsPath%>', 'lnk_<%=info.ID%>', 142, 142, 150);
                                </script>
                            </a>
               </div>
                <div class="c_info">
                     <a href='<%=info.Source == "" ? info.BigImageAbsPath : info.Source%>' target="_blank"><%=info.Name%></a></div>
                     
            </div>
       <%} %>
       <div style="clear:both; height:0px; line-height:0px;"></div>
       
       <%=HtmlPager.Pager(Model.CurrentPage, Model.PageSize, Model.RecordCount, SitePath.VirtualRoot + "Article/PictureList/" + this.Model.MenuCode + "/")%>
      <div style="clear:both; height:10px;"></div>
</asp:Content>

